@layout("/common/_form.html",{js:["/assets/modular/web/user/update_gold.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">用户基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input id="userId" name="userId" value="${userId}" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">现有金币值</label>
                        <div class="layui-input-block">
                            <input type="number" value="${goldNum}" placeholder="金币值" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">变动类型</label>
                        <div class="layui-input-block">
                            <select name="changeType">
                                <option value="0">增加</option>
                                <option value="1">减少</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">变动数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="changeGold" placeholder="增加或减少数量" value="0" type="number" class="layui-input" lay-verify="required|goldVer" lay-reqtext="变动数量不能为空"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12 layui-form-text">
                        <label class="layui-form-label">修改原因<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea name="reson" placeholder="请输入修改原因" class="layui-textarea" lay-verify="required" lay-reqtext="修改原因不能为空"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
